﻿<template>
  <div class="skeleton-wrapper">
    <div class="skeleton1"></div>
    <div class="skeleton2">
      <div class="header"></div>
      <div class="content"></div>
      <div class="inner">
        <div class="inner-flex">
          <div class="circle"></div>
          <div class="inner-ske"></div>
        </div>
        <div class="inner-ske2"></div>
      </div>
    </div>
    <div class="skeleton2">
      <div class="header"></div>
      <div class="content"></div>
      <div class="inner">
        <div class="inner-flex">
          <div class="circle"></div>
          <div class="inner-ske"></div>
        </div>
        <div class="inner-ske2"></div>
      </div>
    </div>
    <div class="skeleton2">
      <div class="header"></div>
      <div class="content"></div>
      <div class="inner">
        <div class="inner-flex">
          <div class="circle"></div>
          <div class="inner-ske"></div>
        </div>
        <div class="inner-ske2"></div>
      </div>
    </div>
    <div class="skeleton2">
      <div class="header"></div>
      <div class="content"></div>
      <div class="inner">
        <div class="inner-flex">
          <div class="circle"></div>
          <div class="inner-ske"></div>
        </div>
        <div class="inner-ske2"></div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'skeleton'
  };
</script>

<style lang="scss" scoped>
  @import url(~normalize.css);
  .skeleton1 {
    width: 100%;
    height: 0.5rem;
    background: rgba(230, 230, 230, 1);
  }
  
  .skeleton2 {
    height: 2.845rem;
    width: 100%;
    padding: 0.1rem 0.13rem 0 0.13rem;
    box-sizing: border-box;
    border-bottom:0.01rem solid #dedede;
    .header {
      margin-bottom: 0.1rem;
      width: 50%;
      height: 0.2rem;
      background: rgba(230, 230, 230, 1);
    }
    .content{
      width: 100%;
      height: 1.96rem;
      background: rgba(240, 240, 240, 1);
      margin-bottom: 0.1rem;
    }
    .inner{
      display: flex;
      justify-content: space-between;
      align-items: center;
      .inner-flex{
        display: flex;
        align-items: center;
      }
      .circle{
        width: 0.24rem;
        height: 0.24rem;
        border-radius: 0.12rem;
        background: rgba(220, 220, 220, 1);
        margin-right:0.1rem;
      }
      .inner-ske{
        width: 1rem;
        height: 0.2rem;
        background: rgba(230, 230, 230, 1);
      }
      .inner-ske2{
        width: 1.5rem;
        height: 0.2rem;
        background: rgba(230, 230, 230, 1);
      }
    }
  }
</style>
